Derivatives of fentanyl, 3-methylfentanyl, sufentanil, and lofentanil, possessing chemo- or photoaffinity functionalities, were synthesized as potential affinity reagents for the opiate receptor. Opiate receptor binding constants (IC50) were determined in competition experiments with [3H]naloxone and [3H]naltrexone. Affinity-labeling experiments were generally unsuccessful, although some irreversible attachment was achieved with alpha-diazoamide 17 and aryl azide 23.